package com.lm.activiti.boot.tools.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @author lm_jcf
 * @date 2020/3/20 14:44
 */
public class JobDemo implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

        System.out.println("明天吃什么：" + jobExecutionContext.getMergedJobDataMap().get("food"));

    }
}
